<#include "/view/common/command/para.html">
<div class="zs-ibox">
		<table class="zs-form-tab">
        <tbody>
        <tr>
             <td style="width: 3%">站点</td>
             <td style="width: 45%"> 
                <ul  class="zs-data-sizer" id="wsclcname" style="float:left">
                  <li ng-click="getSationname('1')" orgid="1" ng-class="STATION_ID != null && STATION_ID != '' ? '':'selected'" ><a href="#" >全部</a></li>
                  <li ng-click="getSationname('0')" orgid="0" ng-class="STATION_ID != null && STATION_ID != '' ? 'selected':''"><a href="#" >{{STATION_NAME}}</a></li>
	             </ul>
               </td>
               <td>
                <input type="button" value="新建" class="zs-btn" style="float: right;" ng-click="newDataValidationCheck();" ng-show="formObject.si.sa||formObject.si.public_add">
               </td>
             </tr>
        	<tr>
        	  <td style="width: 3%">时间</td>
	        	<td>
	        		<label>&nbsp;年份</label>
	        		<ag-Combobox name="YEAR" ng-model="queryObject.queryMonitorDataValidation.MEASURE_YEAR"  
                            text-Value="" table-name="" domain-name="" dynamic="false"  style="width:80px" 
                            data=<@domain addSpaceItem="true" tableName="data_defulatdomain" domainName="EVERY_YEAR">${data}</@domain> />                           
             		</ag-Combobox>
	        	
			        <label>&nbsp;&nbsp;&nbsp;月份：    从</label> &nbsp;
			        <select class="form-control" ng-model="queryObject.queryMonitorDataValidation.MEASURE_START_MONTH">
					  <option value="1">1月</option>
					  <option value="2">2月</option>
					  <option value="3">3月</option>
					  <option value="4">4月</option>
					  <option value="5">5月</option>
					  <option value="6">6月</option>
					  <option value="7">7月</option>
					  <option value="8">8月</option>
					  <option value="9">9月</option>
					  <option value="10">10月</option>
					  <option value="11">11月</option>
					  <option value="12">12月</option>
					</select>
					<label>至</label> &nbsp;
					<select class="form-control" ng-model="queryObject.queryMonitorDataValidation.MEASURE_END_MONTH">
					  <option value="1">1月</option>
					  <option value="2">2月</option>
					  <option value="3">3月</option>
					  <option value="4">4月</option>
					  <option value="5">5月</option>
					  <option value="6">6月</option>
					  <option value="7">7月</option>
					  <option value="8">8月</option>
					  <option value="9">9月</option>
					  <option value="10">10月</option>
					  <option value="11">11月</option>
					  <option value="12">12月</option>
					</select>    
					
					<input type="button" value="查询" class="zs-btn" ng-click="getCheckData('')">   		
				</td>
        	</tr>
        	</tbody>
      </table>
	<table class="zs-data-tab" width="100%">
		<thead>
			<tr>
				<th class="head">所属站点</th>
				<th class="head">数据比对开始时间</th>
				<th class="head">数据比对结束时间</th>
				<th class="head">比对结果</th>
				<th class="head">有效性审核结果</th>
				<th class="head">监测报告</th>
				<th class="head">监测记录</th>
				<th class="head">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="curRow in httpData.DataValidationCheckList.data"
				class="{{ isDoubleNum($index) ? 'even':'' }}">
				<td class="center"><a> <label ng-bind="curRow.NAME">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.ST">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.ET">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.RESULT=='0'?'不合格':'合格'">
					</label>
				</a></td>
				<td class="center"><a> <label ng-bind="curRow.VALID_RESULT=='0'?'不合格':'合格'">
					</label>
				</a></td>
				<td class="center"><a ng-if="curRow.FILE_URL" style="cursor:pointer;text-decoration:underline;" ng-click="downloadDoc(curRow.FILE_URL)">下载</a></td>
				<td class="center"><a ng-if="curRow.EXCEL_URL" style="cursor:pointer;text-decoration:underline;" ng-click="downloadDoc(curRow.EXCEL_URL)">下载</a></td>
				<td class="center"> <a
					style="cursor: pointer" ng-click="editCheck(curRow)"
					ng-show="formObject.si.sa||formObject.si.public_edit"> 编辑 </a> &nbsp; <a
					style="cursor: pointer" ng-click="deleteCheck(curRow)"
					ng-show="formObject.si.sa||formObject.si.public_delete"> 删除 </a></td>
			</tr>
		</tbody>
	</table>
</div>
 <div itfreer-Window id="newDataValidationCheck" title="新建" width='800'
	height='250'><#include "${viewDir}/ws/command/DataValidationCheck_ADD.html">
 </div>

